home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 19
/
Aminet 19 (1997)(GTI - Schatztruhe)[!][Jun 1997].iso
/
Aminet
/
gfx
/
board
/
rtgmasdev.lha
/
demos
/
moon
/
WORLD.H
< prev
next >
Wrap
C/C++ Source or Header
|
1996-10-08
|
597b
|
22 lines
// Note: The map_size variables MUST be powers of 2!
// This is because I'm using AND instead of MOD to clip coordinates.
//const map_size_x = 128;//512;
//const map_size_y = 128;//512;
#define map_size_x 128 //512
#define map_size_y 128 //512
#define scale_area 2048
extern long clip_mask_x, clip_mask_y;
#define scale_area 2048
extern long scale_height;
extern long world_size_x,world_size_y;
extern long max_alt,min_alt;
typedef unsigned char map_t [ map_size_x ][ map_size_y ];
extern map_t far alt_map;
extern map_t far color_map;
void WORLD_generate ( void );